﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GmaeUI : MonoBehaviour {

    public GameObject GameMainCanvas;
    public GameObject GameOP;

    // Use this for initialization
    void Start()
    {
        GameOP =Instantiate(GameOP);
        GameOP.transform.parent = GameMainCanvas.transform;
        GameOP.transform.localScale = new Vector3(1, 1, 1);
        GameOP.GetComponent<RectTransform>().offsetMin = new Vector2(0, 0);
        GameOP.GetComponent<RectTransform>().offsetMax = new Vector2(0, 0);

    }
    // Update is called once per frame
    void Update () {
		
	}
}
